package com.zjb.home.boxingtu.activity.anim;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;

import com.zjb.home.boxingtu.R;
import com.zjb.home.boxingtu.view.dialog.RedbagDialog;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class AnimActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_anim);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.btn0010, R.id.btn0011, R.id.btn0012, R.id.btn0014, R.id.btn0013, R.id.btn0015})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.btn0010:
                new RedbagDialog(this).hongBaoDialog();
                break;
            case R.id.btn0011:
                startActivity(new Intent(this, RoateAnimActivity.class));
                break;
            case R.id.btn0012:
                startActivity(new Intent(this, MusicActivity.class));
                break;
            case R.id.btn0013:
                startActivity(new Intent(this, EndTimeActivity.class));
                break;
            case R.id.btn0014:
                startActivity(new Intent(this, LitterActivity.class));
                break;
            case R.id.btn0015:
                startActivity(new Intent(this, UpLoadAnimActivity.class));
                break;
        }
    }
}
